#define _CRT_SECURE_NO_WARNINGS 1


#include<iostream>

using namespace std;

int main()
{
	double r = 0, pi = 3.1415926536;
	cin >> r;
	printf("%.10lf\n", pi * r * r);
	printf("%.10lf\n", pi * r * r * 4.0);
	printf("%.10lf\n", pi * r * r * r * (4.0 / 3.0));

	return 0;
}